Function |wrapping_add

std/ops/num::|wrapping_add


Usage

|wrapping_add<N>(a, b)

Generics

◻ N: WrappingAdd

Parameters

↳ a: N
↳ b: N

Return

↴ N


Add a and b, wrapping on bounds.

This function is infaillible and wrap if a + b reach boundary of the data type.